class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  delegate :url_helpers, to: 'Rails.application.routes'
  delegate :helpers, to: 'ActionController::Base'


  # This method used for set class level css scope
  def self.css_scope(scope_value, options={})
    before_action(options) { @css_scope = scope_value }
  end
end
